﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.SpriteAlignment
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>How a Sprite's graphic rectangle is aligned with its pivot point.</para>
  /// </summary>
  public enum SpriteAlignment
  {
    /// <summary>
    ///   <para>Pivot is at the center of the graphic rectangle.</para>
    /// </summary>
    Center,
    /// <summary>
    ///   <para>Pivot is at the top left corner of the graphic rectangle.</para>
    /// </summary>
    TopLeft,
    /// <summary>
    ///   <para>Pivot is at the center of the top edge of the graphic rectangle.</para>
    /// </summary>
    TopCenter,
    /// <summary>
    ///   <para>Pivot is at the top right corner of the graphic rectangle.</para>
    /// </summary>
    TopRight,
    /// <summary>
    ///   <para>Pivot is at the center of the left edge of the graphic rectangle.</para>
    /// </summary>
    LeftCenter,
    /// <summary>
    ///   <para>Pivot is at the center of the right edge of the graphic rectangle.</para>
    /// </summary>
    RightCenter,
    /// <summary>
    ///   <para>Pivot is at the bottom left corner of the graphic rectangle.</para>
    /// </summary>
    BottomLeft,
    /// <summary>
    ///   <para>Pivot is at the center of the bottom edge of the graphic rectangle.</para>
    /// </summary>
    BottomCenter,
    /// <summary>
    ///   <para>Pivot is at the bottom right corner of the graphic rectangle.</para>
    /// </summary>
    BottomRight,
    /// <summary>
    ///   <para>Pivot is at a custom position within the graphic rectangle.</para>
    /// </summary>
    Custom,
  }
}
